package com.drugStorage.domain;

/**
 * 药品科学
 * 
 * @author kirk
 * 
 */

public class DrugScience {

	private int id;// 药品ID

	private String name;// 药品名称

	private String pym;// 药品拼音�?

	private String unit;// 药品单位

	private String category;// 药品类别

	private String spec;// 药品规格

	private String useWay;// 使用方式

	private String isUsed;// 是否停用

	private Factory factory;// 药品厂家

	public DrugScience() {

	}


	public DrugScience(String name) {
		this.name = name;
	}


	public DrugScience(String name, Factory factory) {
		this.name = name;
		this.factory = factory;
	}


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPym() {
		return pym;
	}

	public void setPym(String pym) {
		this.pym = pym;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getUseWay() {
		return useWay;
	}

	public void setUseWay(String useWay) {
		this.useWay = useWay;
	}

	public String getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(String isUsed) {
		this.isUsed = isUsed;
	}

	public Factory getFactory() {
		return factory;
	}

	public void setFactory(Factory factory) {
		this.factory = factory;
	}

}
